package ee.nlp.evn.entities;

import java.util.ArrayList;
import java.util.List;

public class Role {
	private String name;
	private List<String> selConstrs;
	public Role(String pName) {
		setName(pName);
		this.selConstrs = new ArrayList<String>();
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the selConstrs
	 */
	public List<String> getSelConstrs() {
		return selConstrs;
	}
	/**
	 * @param selConstrs the selConstrs to set
	 */
	public void addSelConstrs(String selConstr) {
		this.selConstrs.add(selConstr);
	}
}
